package cn.lyjuan.archetypes.bms.web.bean.dto;


import cn.lyjuan.archetypes.bms.common.entity.MgRole;

import java.io.Serializable;

/**
 * 用户角色权限
 */
public class PrivilegeRoleBean extends MgRole implements Serializable
{
    /**
     * 用户是否有此角色权限
     */
    private boolean hasPrivilege;


    public boolean isHasPrivilege()
    {
        return hasPrivilege;
    }

    public void setHasPrivilege(boolean hasPrivilege)
    {
        this.hasPrivilege = hasPrivilege;
    }

    @Override
    public String toString()
    {
        return "PrivilegeRoleBean{" +
                "hasPrivilege=" + hasPrivilege +
                "}, " + super.toString();
    }
}
